/*
Realistic Unit Modification v4.0 Dialog 
v4.0.0.1 [ALPHA]
Concept & Development by Draper & Raps | [VRC]
*/


// IDD and IDC ------------------------
RUM_FXD_IDD = 1020;
RUM_BttnExit_IDC = 1021;
RUM_BttnFXD_IDC = 1022;
RUM_ListFXD_IDC = 1023;
RUM_TypeFXDM_IDC = 1024;
RUM_TypeFXDM1_IDC = 1025;
RUM_TypeFXDM2_IDC = 1026;
RUM_TypeFXDM3_IDC = 1027;
RUM_TypeFXDM4_IDC = 1028;
RUM_TypeFXDM5_IDC = 1029;
RUM_TypeFXDM6_IDC = 1030;
RUM_BttnStrike_IDC = 1031;
RUM_FXDMISS_IDC = 1032;

// Init -------------------------------
if (RUM_FXD_idleorstation) then {
// create a bluring and sound effect when the PDA comes to focus; lower to kneel position if not prone already
	call RUM_fn_ppEffect_dialog;
	createDialog "RUM_FXD";
};
if (!RUM_FXD_idleorstation) then {
// create a bluring and sound  effect when the PDA comes to focus; lower to kneel position if not prone already
	call RUM_fn_ppEffect_dialog;
	createDialog "RUM_FXD_STAT";
};

[] spawn RUM_MissType;
RUM_COM = _this select 0;

lbAdd [RUM_TypeFXDM1_IDC,"N/A"];
lbSetCurSel [RUM_TypeFXDM1_IDC, 0];
lbAdd [RUM_TypeFXDM2_IDC,"N/A"];
lbSetCurSel [RUM_TypeFXDM2_IDC, 0];
lbAdd [RUM_TypeFXDM3_IDC,"N/A"];
lbSetCurSel [RUM_TypeFXDM3_IDC, 0];
lbAdd [RUM_TypeFXDM4_IDC,"N/A"];
lbSetCurSel [RUM_TypeFXDM4_IDC, 0];
lbAdd [RUM_TypeFXDM5_IDC,"N/A"];
lbSetCurSel [RUM_TypeFXDM5_IDC, 0];
lbAdd [RUM_TypeFXDM6_IDC,"N/A"];
lbSetCurSel [RUM_TypeFXDM6_IDC, 0];
lbAdd [RUM_FXDMISS_IDC,"Tactical Strike"];
lbSetCurSel [RUM_FXDMISS_IDC, 0];

RUM_FXD_Strike = true;
RUM_FXD_moveStation = false;

if (RUM_FXD_idleorstation) then {
	call RUM_FillListFXD1;
} else {
	call RUM_FillListFXD2;
};
if (RUM_FXD_idleorstation) then {
	[] spawn RUM_TypeMUpdate1;
} else {
	[] spawn RUM_TypeMUpdate2;
};

if (true) exitwith {};
